package com.zsrt.spring.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * 让1个普通的类 起到spring的配置 + web.xml 
 * @author Administrator
 *
 */

@MapperScan("com.zsrt.spring.boot.*.dao")
@SpringBootApplication
public class App {
	
	public static void main(String[] args) {
		
		//当运行这个类的时候 表示启动tomcat容器
		new SpringApplicationBuilder(App.class).run(args);
	}

}
